<?php

/**
 * Created by PhpStorm.
 * User: fengchen
 * 此文件用于定义路由
 */
return [
    'URL_MODEL'     => 3,
    'URL_ROUTER_ON' => true,                             // 开启路由

    'URL_ROUTE_RULES' => [                            // 路由规则
        /*各种详情路由*/
        'news$' => 'Home/Articletem/post_list?id=36',
        'news/:id' => 'Home/Articletem/post_show',
        'news-page/:id'  => 'Home/Articletem/post_list?id=36&p=:1',
        'tuiguang$' => 'Home/Articletem/post_list?id=37',
        'tuiguang/:id' => 'Home/Articletem/post_show',
        'tuiguang-page/:id'  => 'Home/Articletem/post_list?id=37&p=:1',
        'pinpai$' => 'Home/Articletem/post_list?id=38',
        'pinpai/:id' => 'Home/Articletem/post_show',
        'pinpai-page/:id'  => 'Home/Articletem/post_list?id=38&p=:1',
        'cehua$' => 'Home/Articletem/post_list?id=38',
        'cehua/:id' => 'Home/Articletem/post_show',
        'cehua-page/:id'  => 'Home/Articletem/post_list?id=38&p=:1',
        'yunying$' => 'Home/Articletem/post_list?id=39',
        'yunying/:id' => 'Home/Articletem/post_show',
        'yunying-page/:id'  => 'Home/Articletem/post_list?id=39&p=:1',
        'zhichang$' => 'Home/Articletem/post_list?id=40',
        'zhichang/:id' => 'Home/Articletem/post_show',
        'zhichang-page/:id'  => 'Home/Articletem/post_list?id=40&p=:1',
        'xueyuan$' => 'Home/Articletem/post_list?id=41',
        'xueyuan/:id' => 'Home/Articletem/post_show',
        'xueyuan-page/:id'  => 'Home/Articletem/post_list?id=41&p=:1',
        'daka$' => 'Home/Articletem/post_list?id=42',
        'daka/:id' => 'Home/Articletem/post_show',
        'daka-page/:id'  => 'Home/Articletem/post_list?id=42&p=:1',
        'search$' => 'Home/Articletem/search_by',
        'postShow/:id' => 'Home/Articletem/post_show',
        'postList/:id' => 'Home/Articletem/post_list',
        'tags$'=>"Home/Articletem/tags",
        'zixun$' => 'Home/Articletem/post_list?id=43',
        'zixun/:id' => 'Home/Articletem/post_show',
        'zixun-page/:id'  => 'Home/Articletem/post_list?id=43&p=:1',
    ],
];
